Objects Reference

mat4x4::set_rotation

Prototype

void set_rotation( float ang, vector& dir )

Parameters

Parameter Type Description
ang float rotation angle in degrees
dir vector& rotation vector

Return Value

None

Remarks

This function multiplies the curremt matrix by a rotation matrix of ang degrees around vector dir.